from django.conf.urls.defaults import *
# from django.views.generic import DetailView

from main.views import home

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^$', home),
    (r'^home', home),
    (r'^prodinf/', include('prodinf.urls')),
    url(r'^logout/$', 'django.contrib.auth.views.logout', name='users_logout'),
    
    # url(r'^network/$', ComputerListView.as_view(), name='computer_list'),
    # url(r'^network/(?P<pk>\d+)/$', ComputerDetailView.as_view(), name='computer_detail'),
    # url(r'^network/edit/(?P<pk>\d+)/$', ComputerUpdate.as_view(), name='computer_edit'),
    # url(r'^network/add/$', ComputerCreate.as_view(), name='computer_add'),
    # url(r'^network/del/$', ComputerDelete, name='computer_delete'),

    (r'^admin/', include(admin.site.urls)),

)
